package com.wy2.eclipse.tool.lib.git;

public abstract class AbstractGitRun implements GitRun {

    private final String branch;
    private final String userName;
    private final String password;
    
    
    
    
    public String getBranch() {
        return branch;
    }



    public String getUserName() {
        return userName;
    }



    public String getPassword() {
        return password;
    }



    public AbstractGitRun(String branch, String userName, String password) {
        super();
        this.branch = branch;
        this.userName = userName;
        this.password = password;
    }



    public AbstractGitRun() {
        super();
        this.branch = GitConstants.BRANCH_DEFAULT_VALUE;
        this.userName = null;
        this.password = null;
    }



    @Override
    public abstract void run(GitClient gitClient) throws Exception;

}
